201 OpenCA prior 0.9.2-RC6 HTML injection CGI 2004/09/10 Marc Ruef marc dot ruef at computec dot ch http://www.computec.ch computec.ch Marc Ruef marc dot ruef at computec dot ch http://www.computec.ch computec.ch 2004/11/14 2.0 Corrected the plugin structure and added the accuracy values in 1.1. Improved the pattern matching and introduced the plugin changelog in 2.0 tcp 80 open|send GET /cgi-bin/pub/pki?cmd=serverInfo HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/#.# ### *Server Information for OpenCA Server Version 0.[0-8].* OR HTTP/#.# ### *Server Information for OpenCA Server Version 0.9.[0-2]* 85 Check is inspired by the Nessus plugin (see Nessus ID listed in the sources). Martin Bartosch and Michael Bell mb-bugtraq at cynops dot de 2004/09/06 http://www.securityfocus.com/archive/1/374329 OpenCA prior 0.9.2-RC6 OpenCA newer than 0.9.2-RC6 or other solutions Cross Site Scripting The remote host seems to be running OpenCA, an open Certificate Authority. The software version prior 0.9.2-RC6 may allow a remote attacker to inject HTML to a vulnerable system. This issue exists due to a lack if sanitization of user-supplied data. The server should be deactivated or de-installed if not necessary. If this is not possible, you should patch or upgrade the software to the latest version (http://www.securityfocus.com/bid/11113/solution/). To make it harder to find the server the HTTP daemon could be configured to listen at another port (e.g. 8081). Try to prevent unwanted connection attempts by filtering traffic with firewalling. Alternation of the application banner can confuse an attacker and let him determine the wrong software. Approx. 1 hour Yes http://www.securityfocus.com/bid/11113/exploit/ Yes Yes Medium 7 6 7 6 Medium Nessus is able to do the same check. CAN-2004-0787 11113 825 50731 14700 Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427 http://www.openca.org/news/CAN-2004-0787.txt